package com.gw.smscheck.entity.sys;

import java.util.HashSet;
import java.util.Set;

public class Role extends Pagination
{

    private Integer id; //角色id
    private String roleName;//角色名称
    private String describes;//角色描述
	private String createTime ;//创建时间
	private String createUser ;//创建人
	private Integer createUserId ;//创建人ID
    private Set<User> users = new HashSet<User>();
    private Set<Menu> menus = new HashSet<Menu>();

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getRoleName()
    {
        return roleName;
    }

    public void setRoleName(String roleName)
    {
        this.roleName = roleName;
    }

    public String getDescribes()
    {
        return describes;
    }

    public void setDescribes(String describes)
    {
        this.describes = describes;
    }

    public Set<User> getUsers()
    {
        return users;
    }

    public void setUsers(Set<User> users)
    {
        this.users = users;
    }

    public Set<Menu> getMenus()
    {
        return menus;
    }

    public void setMenus(Set<Menu> menus)
    {
        this.menus = menus;
    }

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	@Override
	public String toString() {
		return "Role [id=" + id + ", roleName=" + roleName + ", describes=" + describes + ", createTime=" + createTime
				+ ", createUser=" + createUser + ", createUserId=" + createUserId + ", users=" + users + ", menus="
				+ menus + "]";
	}

}
